home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10428 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  851 b 

  1. Path: newsfeeds.ans.net!interaccess!usenet
  2. From: Tom Newark <tnewark@vream.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: RTTI and MSVC 4.0 examples sought
  5. Date: Thu, 07 Mar 1996 19:45:19 -0600
  6. Organization: VREAM, Inc.
  7. Message-ID: <313F912F.39D2@vream.com>
  8. NNTP-Posting-Host: d117.nwchi.interaccess.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win95; I)
  13.  
  14. I'm looking for some examples of using RTTI with MSVC 4.0.
  15.  
  16. The problem I'm specifically trying to solve is that I want to implement
  17. IsKindOf(Ptr, class) where I return true if a ptr is type class or a 
  18. subclass of class, and false otherwise.
  19.  
  20. MicroSoft's documentation is very weak on the RTTI subject and type_info 
  21. class, especially about such things as collating order (what exactly is 
  22. it?)
  23.  
  24.  
  25. Tom Newark
  26. tnewark@vream.com
  27.